﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SRAGWMCLib
{
    public class DataBase
    {

        private string _DBType, _DBName, _Source, _ConnectionName;

        public string DBType
        {
            get
            {
                return _DBType;
            }
            set
            {
                _DBType = value;
            }
        }

        public string DBName
        {
            get
            {
                return _DBName;
            }
            set
            {
                _DBName = value;
            }
        }

        public string Source
        {
            get
            {
                return _Source;
            }
            set
            {
                _Source = value;
            }
        }

        public string ConnectionName
        {
            get
            {
                return _ConnectionName;
            }
            set
            {
                _ConnectionName = value;
            }
        }

        public DataBase(string pDBType, string pDBName, string pSource, string pConnectionName) 
        {

            _DBType = pDBType;
            _DBName = pDBName;
            _Source = pSource;
            _ConnectionName = pConnectionName;

        }
    }
}
